.flag-class (@image) {
    background: data-uri(@image) no-repeat left center;
    padding: 3px 0 0 19px;
}

/* Official Famfamfam icons for countries with ISO 3166-1 codes */
.flag-AD { .flag-class("../images/flags/ad.png"); }
.flag-AE { .flag-class("../images/flags/ae.png"); }
.flag-AF { .flag-class("../images/flags/af.png"); }
.flag-AG { .flag-class("../images/flags/ag.png"); }
.flag-AI { .flag-class("../images/flags/ai.png"); }
.flag-AL { .flag-class("../images/flags/al.png"); }
.flag-AM { .flag-class("../images/flags/am.png"); }
.flag-AN { .flag-class("../images/flags/an.png"); }
.flag-AO { .flag-class("../images/flags/ao.png"); }
.flag-AR { .flag-class("../images/flags/ar.png"); }
.flag-AS { .flag-class("../images/flags/as.png"); }
.flag-AT { .flag-class("../images/flags/at.png"); }
.flag-AU { .flag-class("../images/flags/au.png"); }
.flag-AW { .flag-class("../images/flags/aw.png"); }
.flag-AX { .flag-class("../images/flags/ax.png"); }
.flag-AZ { .flag-class("../images/flags/az.png"); }
.flag-BA { .flag-class("../images/flags/ba.png"); }
.flag-BB { .flag-class("../images/flags/bb.png"); }
.flag-BD { .flag-class("../images/flags/bd.png"); }
.flag-BE { .flag-class("../images/flags/be.png"); }
.flag-BF { .flag-class("../images/flags/bf.png"); }
.flag-BG { .flag-class("../images/flags/bg.png"); }
.flag-BH { .flag-class("../images/flags/bh.png"); }
.flag-BI { .flag-class("../images/flags/bi.png"); }
.flag-BJ { .flag-class("../images/flags/bj.png"); }
.flag-BM { .flag-class("../images/flags/bm.png"); }
.flag-BN { .flag-class("../images/flags/bn.png"); }
.flag-BO { .flag-class("../images/flags/bo.png"); }
.flag-BR { .flag-class("../images/flags/br.png"); }
.flag-BS { .flag-class("../images/flags/bs.png"); }
.flag-BT { .flag-class("../images/flags/bt.png"); }
.flag-BV { .flag-class("../images/flags/bv.png"); }
.flag-BW { .flag-class("../images/flags/bw.png"); }
.flag-BY { .flag-class("../images/flags/by.png"); }
.flag-BZ { .flag-class("../images/flags/bz.png"); }
.flag-CA { .flag-class("../images/flags/ca.png"); }
.flag-CC { .flag-class("../images/flags/cc.png"); }
.flag-CD { .flag-class("../images/flags/cd.png"); }
.flag-CF { .flag-class("../images/flags/cf.png"); }
.flag-CG { .flag-class("../images/flags/cg.png"); }
.flag-CH { .flag-class("../images/flags/ch.png"); }
.flag-CI { .flag-class("../images/flags/ci.png"); }
.flag-CK { .flag-class("../images/flags/ck.png"); }
.flag-CL { .flag-class("../images/flags/cl.png"); }
.flag-CM { .flag-class("../images/flags/cm.png"); }
.flag-CN { .flag-class("../images/flags/cn.png"); }
.flag-CO { .flag-class("../images/flags/co.png"); }
.flag-CR { .flag-class("../images/flags/cr.png"); }
.flag-CS { .flag-class("../images/flags/cs.png"); }
.flag-CU { .flag-class("../images/flags/cu.png"); }
.flag-CV { .flag-class("../images/flags/cv.png"); }
.flag-CX { .flag-class("../images/flags/cx.png"); }
.flag-CY { .flag-class("../images/flags/cy.png"); }
.flag-CZ, .flag-XC { .flag-class("../images/flags/cz.png"); }
.flag-DE { .flag-class("../images/flags/de.png"); }
.flag-DJ { .flag-class("../images/flags/dj.png"); }
.flag-DK { .flag-class("../images/flags/dk.png"); }
.flag-DM { .flag-class("../images/flags/dm.png"); }
.flag-DO { .flag-class("../images/flags/do.png"); }
.flag-DZ { .flag-class("../images/flags/dz.png"); }
.flag-EC { .flag-class("../images/flags/ec.png"); }
.flag-EE { .flag-class("../images/flags/ee.png"); }
.flag-EG { .flag-class("../images/flags/eg.png"); }
.flag-EH { .flag-class("../images/flags/eh.png"); }
.flag-ER { .flag-class("../images/flags/er.png"); }
.flag-ES { .flag-class("../images/flags/es.png"); }
.flag-ET { .flag-class("../images/flags/et.png"); }
.flag-FI { .flag-class("../images/flags/fi.png"); }
.flag-FJ { .flag-class("../images/flags/fj.png"); }
.flag-FK { .flag-class("../images/flags/fk.png"); }
.flag-FM { .flag-class("../images/flags/fm.png"); }
.flag-FO { .flag-class("../images/flags/fo.png"); }
.flag-FR, .flag-BL, .flag-GP, .flag-MF { .flag-class("../images/flags/fr.png"); }
.flag-GA { .flag-class("../images/flags/ga.png"); }
.flag-GB { .flag-class("../images/flags/gb.png"); }
.flag-GD { .flag-class("../images/flags/gd.png"); }
.flag-GE { .flag-class("../images/flags/ge.png"); }
.flag-GF { .flag-class("../images/flags/gf.png"); }
.flag-GH { .flag-class("../images/flags/gh.png"); }
.flag-GI { .flag-class("../images/flags/gi.png"); }
.flag-GL { .flag-class("../images/flags/gl.png"); }
.flag-GM { .flag-class("../images/flags/gm.png"); }
.flag-GN { .flag-class("../images/flags/gn.png"); }
.flag-GQ { .flag-class("../images/flags/gq.png"); }
.flag-GR { .flag-class("../images/flags/gr.png"); }
.flag-GS { .flag-class("../images/flags/gs.png"); }
.flag-GT { .flag-class("../images/flags/gt.png"); }
.flag-GU { .flag-class("../images/flags/gu.png"); }
.flag-GW { .flag-class("../images/flags/gw.png"); }
.flag-GY { .flag-class("../images/flags/gy.png"); }
.flag-HK { .flag-class("../images/flags/hk.png"); }
.flag-HM { .flag-class("../images/flags/hm.png"); }
.flag-HN { .flag-class("../images/flags/hn.png"); }
.flag-HR { .flag-class("../images/flags/hr.png"); }
.flag-HT { .flag-class("../images/flags/ht.png"); }
.flag-HU { .flag-class("../images/flags/hu.png"); }
.flag-ID { .flag-class("../images/flags/id.png"); }
.flag-IE { .flag-class("../images/flags/ie.png"); }
.flag-IL { .flag-class("../images/flags/il.png"); }
.flag-IN { .flag-class("../images/flags/in.png"); }
.flag-IO { .flag-class("../images/flags/io.png"); }
.flag-IQ { .flag-class("../images/flags/iq.png"); }
.flag-IR { .flag-class("../images/flags/ir.png"); }
.flag-IS { .flag-class("../images/flags/is.png"); }
.flag-IT { .flag-class("../images/flags/it.png"); }
.flag-JM { .flag-class("../images/flags/jm.png"); }
.flag-JO { .flag-class("../images/flags/jo.png"); }
.flag-JP { .flag-class("../images/flags/jp.png"); }
.flag-KE { .flag-class("../images/flags/ke.png"); }
.flag-KG { .flag-class("../images/flags/kg.png"); }
.flag-KH { .flag-class("../images/flags/kh.png"); }
.flag-KI { .flag-class("../images/flags/ki.png"); }
.flag-KM { .flag-class("../images/flags/km.png"); }
.flag-KN { .flag-class("../images/flags/kn.png"); }
.flag-KP { .flag-class("../images/flags/kp.png"); }
.flag-KR { .flag-class("../images/flags/kr.png"); }
.flag-KW { .flag-class("../images/flags/kw.png"); }
.flag-KY { .flag-class("../images/flags/ky.png"); }
.flag-KZ { .flag-class("../images/flags/kz.png"); }
.flag-LA { .flag-class("../images/flags/la.png"); }
.flag-LB { .flag-class("../images/flags/lb.png"); }
.flag-LC { .flag-class("../images/flags/lc.png"); }
.flag-LI { .flag-class("../images/flags/li.png"); }
.flag-LK { .flag-class("../images/flags/lk.png"); }
.flag-LR { .flag-class("../images/flags/lr.png"); }
.flag-LS { .flag-class("../images/flags/ls.png"); }
.flag-LT { .flag-class("../images/flags/lt.png"); }
.flag-LU { .flag-class("../images/flags/lu.png"); }
.flag-LV { .flag-class("../images/flags/lv.png"); }
.flag-LY { .flag-class("../images/flags/ly.png"); }
.flag-MA { .flag-class("../images/flags/ma.png"); }
.flag-MC { .flag-class("../images/flags/mc.png"); }
.flag-MD { .flag-class("../images/flags/md.png"); }
.flag-ME { .flag-class("../images/flags/me.png"); }
.flag-MG { .flag-class("../images/flags/mg.png"); }
.flag-MH { .flag-class("../images/flags/mh.png"); }
.flag-MK { .flag-class("../images/flags/mk.png"); }
.flag-ML { .flag-class("../images/flags/ml.png"); }
.flag-MM { .flag-class("../images/flags/mm.png"); }
.flag-MN { .flag-class("../images/flags/mn.png"); }
.flag-MO { .flag-class("../images/flags/mo.png"); }
.flag-MP { .flag-class("../images/flags/mp.png"); }
.flag-MQ { .flag-class("../images/flags/mq.png"); }
.flag-MR { .flag-class("../images/flags/mr.png"); }
.flag-MS { .flag-class("../images/flags/ms.png"); }
.flag-MT { .flag-class("../images/flags/mt.png"); }
.flag-MU { .flag-class("../images/flags/mu.png"); }
.flag-MV { .flag-class("../images/flags/mv.png"); }
.flag-MW { .flag-class("../images/flags/mw.png"); }
.flag-MX { .flag-class("../images/flags/mx.png"); }
.flag-MY { .flag-class("../images/flags/my.png"); }
.flag-MZ { .flag-class("../images/flags/mz.png"); }
.flag-NA { .flag-class("../images/flags/na.png"); }
.flag-NC { .flag-class("../images/flags/nc.png"); }
.flag-NE { .flag-class("../images/flags/ne.png"); }
.flag-NF { .flag-class("../images/flags/nf.png"); }
.flag-NG { .flag-class("../images/flags/ng.png"); }
.flag-NI { .flag-class("../images/flags/ni.png"); }
.flag-NL, .flag-BQ { .flag-class("../images/flags/nl.png"); }
.flag-NO { .flag-class("../images/flags/no.png"); }
.flag-NP { .flag-class("../images/flags/np.png"); }
.flag-NR { .flag-class("../images/flags/nr.png"); }
.flag-NU { .flag-class("../images/flags/nu.png"); }
.flag-NZ { .flag-class("../images/flags/nz.png"); }
.flag-OM { .flag-class("../images/flags/om.png"); }
.flag-PA { .flag-class("../images/flags/pa.png"); }
.flag-PE { .flag-class("../images/flags/pe.png"); }
.flag-PF { .flag-class("../images/flags/pf.png"); }
.flag-PG { .flag-class("../images/flags/pg.png"); }
.flag-PH { .flag-class("../images/flags/ph.png"); }
.flag-PK { .flag-class("../images/flags/pk.png"); }
.flag-PL { .flag-class("../images/flags/pl.png"); }
.flag-PM { .flag-class("../images/flags/pm.png"); }
.flag-PN { .flag-class("../images/flags/pn.png"); }
.flag-PR { .flag-class("../images/flags/pr.png"); }
.flag-PS { .flag-class("../images/flags/ps.png"); }
.flag-PT { .flag-class("../images/flags/pt.png"); }
.flag-PW { .flag-class("../images/flags/pw.png"); }
.flag-PY { .flag-class("../images/flags/py.png"); }
.flag-QA { .flag-class("../images/flags/qa.png"); }
.flag-RE { .flag-class("../images/flags/re.png"); }
.flag-RO { .flag-class("../images/flags/ro.png"); }
.flag-RS { .flag-class("../images/flags/rs.png"); }
.flag-RU { .flag-class("../images/flags/ru.png"); }
.flag-RW { .flag-class("../images/flags/rw.png"); }
.flag-SA { .flag-class("../images/flags/sa.png"); }
.flag-SB { .flag-class("../images/flags/sb.png"); }
.flag-SC { .flag-class("../images/flags/sc.png"); }
.flag-SD { .flag-class("../images/flags/sd.png"); }
.flag-SE { .flag-class("../images/flags/se.png"); }
.flag-SG { .flag-class("../images/flags/sg.png"); }
.flag-SH { .flag-class("../images/flags/sh.png"); }
.flag-SI { .flag-class("../images/flags/si.png"); }
.flag-SJ { .flag-class("../images/flags/sj.png"); }
.flag-SK { .flag-class("../images/flags/sk.png"); }
.flag-SL { .flag-class("../images/flags/sl.png"); }
.flag-SM { .flag-class("../images/flags/sm.png"); }
.flag-SN { .flag-class("../images/flags/sn.png"); }
.flag-SO { .flag-class("../images/flags/so.png"); }
.flag-SR { .flag-class("../images/flags/sr.png"); }
.flag-ST { .flag-class("../images/flags/st.png"); }
.flag-SV { .flag-class("../images/flags/sv.png"); }
.flag-SY { .flag-class("../images/flags/sy.png"); }
.flag-SZ { .flag-class("../images/flags/sz.png"); }
.flag-TC { .flag-class("../images/flags/tc.png"); }
.flag-TD { .flag-class("../images/flags/td.png"); }
.flag-TF { .flag-class("../images/flags/tf.png"); }
.flag-TG { .flag-class("../images/flags/tg.png"); }
.flag-TH { .flag-class("../images/flags/th.png"); }
.flag-TJ { .flag-class("../images/flags/tj.png"); }
.flag-TK { .flag-class("../images/flags/tk.png"); }
.flag-TL { .flag-class("../images/flags/tl.png"); }
.flag-TM { .flag-class("../images/flags/tm.png"); }
.flag-TN { .flag-class("../images/flags/tn.png"); }
.flag-TO { .flag-class("../images/flags/to.png"); }
.flag-TR { .flag-class("../images/flags/tr.png"); }
.flag-TT { .flag-class("../images/flags/tt.png"); }
.flag-TV { .flag-class("../images/flags/tv.png"); }
.flag-TW { .flag-class("../images/flags/tw.png"); }
.flag-TZ { .flag-class("../images/flags/tz.png"); }
.flag-UA { .flag-class("../images/flags/ua.png"); }
.flag-UG { .flag-class("../images/flags/ug.png"); }
.flag-UM { .flag-class("../images/flags/um.png"); }
.flag-US { .flag-class("../images/flags/us.png"); }
.flag-UY { .flag-class("../images/flags/uy.png"); }
.flag-UZ { .flag-class("../images/flags/uz.png"); }
.flag-VA { .flag-class("../images/flags/va.png"); }
.flag-VC { .flag-class("../images/flags/vc.png"); }
.flag-VE { .flag-class("../images/flags/ve.png"); }
.flag-VG { .flag-class("../images/flags/vg.png"); }
.flag-VI { .flag-class("../images/flags/vi.png"); }
.flag-VN { .flag-class("../images/flags/vn.png"); }
.flag-VU { .flag-class("../images/flags/vu.png"); }
.flag-WF { .flag-class("../images/flags/wf.png"); }
.flag-WS { .flag-class("../images/flags/ws.png"); }
.flag-YE { .flag-class("../images/flags/ye.png"); }
.flag-YT { .flag-class("../images/flags/yt.png"); }
.flag-YU { .flag-class("../images/flags/yu.png"); }
.flag-ZA { .flag-class("../images/flags/za.png"); }
.flag-ZM { .flag-class("../images/flags/zm.png"); }
.flag-ZW { .flag-class("../images/flags/zw.png"); }

/* Others */
.flag-AQ { .flag-class("../images/flags/aq.png"); }
.flag-CW { .flag-class("../images/flags/cw.png"); }
.flag-GG { .flag-class("../images/flags/gg.png"); }
.flag-IM { .flag-class("../images/flags/im.png"); }
.flag-JE { .flag-class("../images/flags/je.png"); }
.flag-SS { .flag-class("../images/flags/ss.png"); }
.flag-SU { .flag-class("../images/flags/su.png"); }
.flag-SX { .flag-class("../images/flags/sx.png"); }
.flag-XE { .flag-class("../images/flags/xe.png"); }
.flag-XG { .flag-class("../images/flags/xg.png"); }
.flag-XK { .flag-class("../images/flags/xk.png"); }
.flag-XW { .flag-class("../images/flags/xw.png"); }

/* Don't try to add the flag on the area overview tab */
.tabs .flag { background: none; padding: 0; }

